home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / os2 / splot170.zip / demo / SIMPLE3.SPT < prev    next >
Text File  |  1996-10-09  |  538b  |  22 lines

  1. /* demo of simple data plotting but*/
  2. /* over riding some more of the defaults */
  3.  
  4. #include <splot.h>
  5. double *data;
  6. main()
  7.    {
  8.    readdata("data1.dat",data);
  9.    set(PLOTTYPE,SYM_LINES);
  10.    set(CURSYMBOL,ARROW);
  11.    set(AXESCLIP,ON);
  12.    axes_box(11,16,-0.02,0.632,0.04,0.6335);
  13.    tickmarks(YAXES,0.632,0.6325,0.633,0.6335);
  14.    tickmarks(XAXES);
  15.    ticklabel();
  16.    label(LOWER,"Position");
  17.    label(LEFT,"Wavelength in !m!m");
  18.    text(6.20,22.98,"Mepsicron Calibration");
  19.    set(FONTMULT,2);
  20.    plotdata(data);  
  21.    }
  22.